<template>
  <span class="dotting"></span>
</template>

<script>
export default {
	name : 'dot',
};
</script>

<style lang="scss" scoped>
.dotting:before {
  content: "...";
}
:root .dotting {
  margin-left: 2px;
  padding-left: 2px;
}
.dotting {
  display: inline-block;
  width: 10px;
  min-height: 2px;
  padding-right: 2px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background-color: currentColor;
  background-clip: content-box;
  box-sizing: border-box;
  -webkit-animation: dot 1.5s infinite step-start both;
  animation: dot 1.5s infinite step-start both;
}
.dotting::before {
  content: "";
}
@keyframes dot {
  25% {
    border-color: transparent;
    background-color: transparent;
  }
  50% {
    border-right-color: transparent;
    background-color: transparent;
  }
  75% {
    border-right-color: transparent;
  }
}
</style>
